Compress data before storing in Local Storage

Description

Check to compress List data when it is stored in Local Storage. This setting does not apply to List data persisted to the file system.

Discussion

If List data is persisted to Local Storage, the Compress data before storing in Local Storage property can be used to compress the data before it is stored in Local Storage. Compression makes it possible to store more data in Local Storage.

Compression can be used with Minify data to maximize the amount of data stored in Local Storage.

Disconnected Applications - Compressing Data Before Storing it in Local Storage

When you build applications that are designed to work while disconnected, the data in the List controls in your UX component are persisted to Local Storage. There is a limit to the amount of data that can be put into Local Storage. The limit varies by browser, but it typically in the 5MB range.

By compressing the data before it is put into Local Storage you can store more data. In this video we show how to turn the compression feature on and how to measure the impact of data compression.

2015-06-10

See Also